package syntax

class CSyntacticException(message:String) extends Exception(message)

object CSyntacticException
{
    val UNRESOLVED_AMBIGUITY_DETECTED = "Unresolved ambiguity detected!"
    val GRAMMAR_ERROR = "Grammar Error!"

    def apply(message:String) = throw new CSyntacticException(message)
}